home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmListReplacePositions.z
/
XmListReplacePositions
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss - A List function that replaces items
in a list based on position
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////LLLLiiiisssstttt....hhhh>>>>
vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss ((((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n__l_i_s_t, _i_t_e_m__l_i_s_t, _i_t_e_m__c_o_u_n_t))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
iiiinnnntttt ****_p_o_s_i_t_i_o_n__l_i_s_t;;;;
XXXXmmmmSSSSttttrrrriiiinnnngggg ****_i_t_e_m__l_i_s_t;;;;
iiiinnnntttt _i_t_e_m__c_o_u_n_t;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss replaces noncontiguous items in a
list. The item at each position specified in _p_o_s_i_t_i_o_n__l_i_s_t
is replaced with the corresponding entry in _i_t_e_m__l_i_s_t. When
the items are inserted into the list, they are compared with
the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list. Any of the new items
that match items on the selected list appears selected. A
warning message is displayed if a specified position is
invalid; that is, the value is 0, a negative integer, or a
number greater than the number of items in the list.
_w_i_d_g_e_t Specifies the ID of the List widget.
_p_o_s_i_t_i_o_n__l_i_s_t
Specifies an array of the positions of items to be
replaced. The position of the first item in the
list is 1; the position of the second item is 2;
and so on.
_i_t_e_m__l_i_s_t Specifies an array of the replacement items.
_i_t_e_m__c_o_u_n_t
Specifies the number of elements in _p_o_s_i_t_i_o_n__l_i_s_t
and _i_t_e_m__l_i_s_t. This number must be non-negative.
For a complete definition of List and its associated
resources, see XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
Page 1 (printed 4/30/98)